<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="head">
	</ui:define>

	<ui:define name="content">
		<h1>Manage #{etablissementsbancairesmsgs['etablissementsbancaires.title']}s</h1>
		
		<h:form>	
			<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.new']}" action="#{EtablissementsBancairesComponent.newEtablissementsBancaires()}"/>
			<p:dataTable id="dta" value="#{EtablissementsBancairesComponent.listEtablissementsBancairess()}"  var="current" rows="15" paginator="true" paginatorPosition="bottom">
				<p:column>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.selectEtablissementsBancaires(current.etbPays, current.etbEtablissement)}" >
						<h:graphicImage value="/images/icons/view.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.editEtablissementsBancaires(current.etbPays, current.etbEtablissement)}" >
						<h:graphicImage value="/images/icons/edit.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.confirmDeleteEtablissementsBancaires(current.etbPays, current.etbEtablissement)}" >
						<h:graphicImage value="/images/icons/delete.gif" style="border:0;"/>
					</h:commandLink>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbpays.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbPays}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbetablissement.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbEtablissement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdescription.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbDescription}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbcodesituation.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbCodeSituation}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatedebutvalidite.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbDateDebutValidite}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatefinvalidite.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbDateFinValidite}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatedisparition.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbDateDisparition}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbcodeetablissnouveau.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbCodeEtablissNouveau}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etboptionidinvariant.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbOptionIdInvariant}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdateeffetidinvariant.title']}" />
					</f:facet>
							<h:outputText value="#{current.etbDateEffetIdInvariant}"  converter="dateConverterForCalendar" />
				</p:column>
			</p:dataTable>
		</h:form>
	</ui:define>
</ui:composition>
